package models.vo;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * 属性差异值对象,用于转换成json.
 *
 * 比较时用 fromObject.diff(toObject)
 */
public class DiffVO {

    public String p;

    public String from;

    public String to;

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("p", p)
                .append("from", from)
                .append("to", to)
                .toString();
    }
}
